﻿namespace KaroEngine
{
    #region TileState
    public enum TileState
    {
        Empty,
        WhiteNormal,
        WhiteUpsideDown,
        RedNormal,
        RedUpsideDown
    }
    #endregion

    public class Tile
    {
        private TileState state;
        private short freeSides;
        private bool evaluated;
        
        #region Constructors 
        public Tile()
        {
            state = TileState.Empty;
            freeSides = 0;
        }

        public Tile(Tile tile)
        {
            state = tile.state;
            freeSides = tile.freeSides;
        }
        #endregion

        #region Getters and Setters
        public TileState State
        {
            get { return this.state; }
            set { this.state = value; }
        }

        public short FreeSides
        {
            get { return freeSides; }
            set { freeSides = value; }
        }

        public bool Evaluated
        {
            get { return evaluated; }
            set { evaluated = value; }
        }
        #endregion
    }
}